/**
 * 
 */
package com.lorizz.picpub.services;

import java.awt.image.BufferedImage;
import java.io.File;
import java.util.Map;

/**
 * @author wind hong
 *
 */
public interface ImageService {
    
    BufferedImage scale(BufferedImage image, int maxWidth, int maxHeight);
    
    BufferedImage crop(BufferedImage image, int width, float percentage);
    
    Map<String, Object> meta(File image);
    
}
